
Px7Table is a TTable descendant with an added method to make use of 
the new Pdox7 descending indices. With this type of index, you can
determine the sortorder for every single field in the index.

------------------------------------------------------------------

AddPx7Index works just like TTable.Addindex except for an additional
string parameter named DescFields:

procedure AddPx7Index(const Name,
                     Fields,
                     DescFields: string;
                     Options: TIndexOptions);

DescFields is only evaluated with ixDescending in Options, so you can 
supply an empty string for any other type of index.

With ixDescending it holds the list of fields that will actually be sorted 
descending, i.e. for a full descending index it has to equal the Fields 
parameter while an empty string will create an ascending index in this case.

The following example creates an index that is ascending on the
first field and descending on the 2nd and 3rd:

AddPx7Index('AscDescMix',
           'Field1;Field2;Field3',
           'Field2;Field3',
            [ixDescending]);

------------------------------------------------------------------

As it turned out that TUTILITY.DLL v2.52 (the one that ships with
PfW7 for Win3.1x) not only drops indices when rebuilding a table
but resets the table level back to 5, I added a method to set the
table level. This call makes your Paradox table a level 7 table:

Px7Table1.SetLevel('7');

NOTE the table has to be opened exclusive for this call.       

A GetLevel method was added for evaluation of the current table level.
------------------------------------------------------------------

Reinhard Kalinke
[100417,3504@compuserve com],
5/17/96


